package utilitario;

import java.text.ParseException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.text.MaskFormatter;

public class FormatoCombinado extends MaskFormatter {
	
	private static final long serialVersionUID = 1L;
    public FormatoCombinado(String maskFormat){        
        try {
            super.setMask(maskFormat);
            super.setPlaceholderCharacter('X');
        } catch (ParseException ex) {
            Logger.getLogger(FormatoCombinado.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
    
}//Fin de Clase Principal EjemJTextfieldFormattedFecha
